package com.dragon.modules.yuegou.service.coupon;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.coupon.CouponScopeSpuEntity;
import com.dragon.modules.yuegou.model.product.Spu;

import java.util.List;

/**
 * 优惠券指定商品 服务接口
 *
 * @author pbuilder generated
 * @date 2019-02-28 18:30:17
 * @version 2.0
 */
public interface CouponScopeSpuService extends IService<CouponScopeSpuEntity> {

	List<Spu> getSpuList(String couponTemplateId);

	/**
	 * @param id 模板Id
	 * @return spuIds 
	 */
	List<String> scopeSpuList(String id);

}